package com.caishi.lkx.exam.records.vo;

import com.caishi.lkx.exam.ienum.type.PaperType;
import com.caishi.lkx.exam.records.RecordsCollectType;
import com.caishi.lkx.exam.records.dto.CategoryCollectRecordsDtoItem;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;


@Getter
@Setter
@Schema(title = "科目下做题集合记录")
public class CategoryCollectRecordsDtoItemVo extends CategoryCollectRecordsDtoItem {

    @Schema(title = "集合类型")
    private RecordsCollectType type;

    @Schema(title = "集合名称")
    private String id;

    @Schema(title = "试卷是否完成")
    private Boolean paperHaveFinish;

    @Schema(title = "试卷类型")
    private PaperType paperType;

    @Schema(title = "试卷id")
    private String paperId;

    @Schema(title = "记录是否被删除")
    private boolean del;

    public void setDel(boolean del) {
        this.del = this.del || del;
    }
}
